package com.focus.pay.wx.model.refund.v2;

import com.focus.pay.wx.model.order.v2.WxPayCommon;
import lombok.Builder;
import lombok.Data;

/**
 * 微信退款申请V2
 * https://pay.weixin.qq.com/wiki/doc/api/micropay.php?chapter=9_4
 */
@Builder
@Data
public class WxPayModelRefund extends WxPayCommon {

    /**
     * 微信支付订单号
     */
    private String transaction_id;

    /**
     * 商户订单号
     */
    private String out_trade_no;

    /**
     * 商户退款单号
     */
    private String out_refund_no;

    /**
     * 订单金额
     */
    private int total_fee;

    /**
     * 退款金额
     */
    private int refund_fee;

    /**
     * 退款货币种类
     */
    private String refund_fee_type;

    /**
     * 退款原因
     */
    private String refund_desc;

    /**
     * 退款资金来源
     */
    private String refund_account;

    /**
     * 退款结果通知url
     */
    private String notify_url;
}
